package com.newly.common.base.entity.sys.dict.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author gjm guan
 * @date 2021/11/9 16:23
 * @desc 字典传输数据
 */
@ApiModel(value = "字典DTO")
@Data
public class DictDto implements Serializable {
    /**
     * 字典类型id
     */
    @ApiModelProperty(value = "字典类型id")
    private Integer id;

    /**
     * 字典编码
     */
    @ApiModelProperty(value = "字典编码")
    private String code;

    /**
     * 名称
     */
    @ApiModelProperty(value = "名称")
    private String name;

    /**
     * 字典值
     */
    @ApiModelProperty(value = "字典值")
    private String value;

    /**
     * 字典类型
     */
    @ApiModelProperty(value = "字典类型")
    private Integer type;

    /**
     * 表名
     */
    @ApiModelProperty(value = "表名")
    private String tableName;

    /**
     * 列名
     */
    @ApiModelProperty(value = "列名")
    private String tableColumn;

    /**
     * 排序
     */
    @ApiModelProperty(value = "排序")
    private Integer sort;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remark;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date updateTime;

    private static final long serialVersionUID = 1L;
}
